package com.sharemarking.system.mapper;

import org.apache.ibatis.annotations.Insert;
import com.sharemarking.wa.common.entity.Message;
import org.springframework.stereotype.Repository;

@Repository
public interface MessageMapper {

	@Insert("INSERT INTO sys_message(member_id,title,body,is_push_wechat,is_push_sms,create_date,update_date)"
			+ "VALUES(#{memberId},#{title},#{body},#{isPushWechat},#{isPushSms},#{createDate},#{updateDate})")
	void insertMessage(Message message);
}
